package bean.student;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class Student {
//    字符
    private String name;
//    数
    private int age;
//    集合
    private Address address;
//    键值对
    private Map<String,String> idCard;
//    集合
    private List<String> schoolClass;
//    数组
    private String[] books;
//    set集合方法(有HashSet和TreeSet方法等)
    private Set<String> game;
//    不存在的
    private String wife;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Map<String, String> getIdCard() {
        return idCard;
    }

    public void setIdCard(Map<String, String> idCard) {
        this.idCard = idCard;
    }

    public List<String> getSchoolClass() {
        return schoolClass;
    }

    public void setSchoolClass(List<String> schoolClass) {
        this.schoolClass = schoolClass;
    }

    public String[] getBooks() {
        return books;
    }

    public void setBooks(String[] books) {
        this.books = books;
    }

    public Set<String> getGame() {
        return game;
    }

    public void setGame(Set<String> game) {
        this.game = game;
    }

    public String getWife() {
        return wife;
    }

    public void setWife(String wife) {
        this.wife = wife;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", address=" + address +
                ", idCard=" + idCard +
                ", schoolClass=" + schoolClass +
                ", books=" + Arrays.toString(books) +
                ", game=" + game +
                ", wife='" + wife + '\'' +
                '}';
    }
}
